package com.zlf.service.api;

import com.zlf.entity.Auth;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface AuthService {

    List<Auth> getAllAuth();

    List<Integer> getAuthByRoleId(Integer roleId);

    void updateAuthByRoleId(Map<String, List<Integer>> map);

    List<String> getAuthNameByAdminId(Integer adminId);
}
